from app import create_app
from app.config import OperateYaml

# 初始化配置
loader = OperateYaml().read_yaml()

app = create_app(loader)

if __name__ == '__main__':
  app.run(host=loader['host'], port=loader['port'],debug=False)